﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace TextProject
{
	public class CharacterDescriptor
	{
		public char Character { get; set; }
		public Style CharStyle { get; set; }
		
		public CharacterDescriptor(char c, Style style)
		{
			Character = c;
			CharStyle = style;
		}

        public Area GetArea()
        {
            return CharStyle.fontArea[Character];
        }
	}
}
